//
//  MBProgressHUD+NJ.h
//
//  Created by 李南江 on 14-5-5.
//  Copyright (c) 2014年 itcast. All rights reserved.
//

#import "MBProgressHUD.h"

@interface MBProgressHUD (NJ)

+ (void)showSuccess:(NSString *)success toView:(UIView *)view;
+ (void)showError:(NSString *)error toView:(UIView *)view;
+ (MBProgressHUD *)showMessage:(NSString *)message toView:(UIView *)view;

+ (void)hideHUDForView:(UIView *)view;


/**
 *文本
 */
+ (void)showMessage:(NSString *)success;

/**
 *文本
 */
+ (void)showText:(NSString *)success;
/**
 *成功
 */
+ (void)showSuccess:(NSString *)success;
/**
 *失败
 */
+ (void)showError:(NSString *)error;

/**
 *(提示)叹号
 */
+ (void)showInfo:(NSString *)info;

/**
 *显示蒙版 和 提示
 */
//+ (MBProgressHUD *)showMessage:(NSString *)message;

/**
 *不显示蒙版
 */
+ (MBProgressHUD *)showMessage;

+ (MBProgressHUD *)showMessageView:(UIView *)view;



/**
 *移除
 */
+ (void)hideHUD;

@end
